package com.f5.management.entity;

import lombok.Data;

import java.util.List;

@Data
public class Role {

  private long id;
  private String roleName;
  private long state;
  private String desc;
  private List<Permission> permissions;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public long getState() {
    return state;
  }

  public void setState(long state) {
    this.state = state;
  }


  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

}
